package com.yezao.contentmodule

import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.yezao.appservice.IAccountAIDL
import com.yezao.appservice.ServiceFactory
import com.yezao.appservice.generoService.IAccount

class DataActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_data)



    }


    fun getAccount(v: View?){
        val iBinder = ServiceFactory.getAppService(ServiceFactory.ACCOUNT_SERVICE)
        IAccountAIDL.Stub.asInterface(iBinder)?.login()
    }
}